as Crud Repo
fun <ObjectType, IdType, InputValueType> MutableMap<IdType, ObjectType>.asCrudRepo(updateCallback: suspend (InputValueType, IdType, ObjectType) -> ObjectType, createCallback: suspend (InputValueType) -> Pair<IdType, ObjectType>): MapCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard